<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="sf" uri="http://www.springframework.org/tags/form"%>
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type" />
<meta
	content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no"
	name="viewport" />
<meta http-equiv="X-UA-Compatible" content="IE=edge,Chrome=1" />
<meta name="renderer" content="webkit" />
<title>登录</title>
<base href="http://localhost:8080/Blogger/" />
<!--[if IE]></base><![endif]-->
<link rel="stylesheet" type="text/css"
	href="resources/css/bootstrap.css" />
<link rel="stylesheet" type="text/css" href="resources/css/icon.css" />

<link href="resources/css/common.css" rel="stylesheet" type="text/css" />
<link href="resources/css/link.css" rel="stylesheet" type="text/css" />
<link href="resources/css/style.css" rel="stylesheet" type="text/css" />
<link href="resources/css/login.css" rel="stylesheet" type="text/css" />

<script src="resources/js/jquery-2.1.1.js" type="text/javascript"></script>
<script src="resources/js/jquery.form.js" type="text/javascript"></script>
<script src="resources/js/plug-in_module.js" type="text/javascript"></script>
<script src="resources/js/aws.js" type="text/javascript"></script>
<script src="resources/js/aw_template.js" type="text/javascript"></script>
<script src="resources/js/app.js" type="text/javascript"></script>
<script type="text/javascript" src="resources/js/compatibility.js"></script>
</head>
<noscript unselectable="on" id="noscript">
	<div class="aw-404 aw-404-wrap container">
		<img src="http://wenda.ghostchina.com/static/common/no-js.jpg">
		<p>你的浏览器禁用了JavaScript, 请开启后刷新浏览器获得更好的体验!</p>
	</div>
</noscript>
<div id="wrapper">
	<div class="aw-login-box">
		<div class="mod-body clearfix">
			<div class="content pull-left">
				<a href=""><img
					src="http://wenda.ghostchina.com/static/css/default/img/login_logo.png"
					alt="" /></a>
				<h2>用户登录</h2>
				<sf:form method="post" modelAttribute="user">
					<div class="alert alert-danger alert-dismissible" role="alert">
						${error}
						<sf:errors path="username" />
						<sf:errors path="password" />
					</div>
					<input type="hidden" name="return_url"
						value="http://localhost:8080/Blogger/" />
					<sf:hidden path="email" value="blogger@qq.com" />
					<font color="red"><sf:errors path="email" /></font>
					<ul>
						<li><sf:input class="form-control" placeholder="邮箱 /用户名"
								path="username" /></li>
						<li><sf:password class="form-control" placeholder="密码"
								path="password" /></li>
						<li class="alert alert-danger hide error_message"><i
							class="icon icon-delete"></i> <em></em></li>
						<li class="last"><button type="submit"
								class="pull-right btn btn-large btn-primary">登录</button> <label>
								<input type="checkbox" value="1" name="net_auto_login" /> 记住我
						</label> <a href="user/findPassword">&nbsp;&nbsp;忘记密码</a></li>
					</ul>
				</sf:form>
			</div>
			<div class="side-bar pull-left">
				<h3>第三方账号登录</h3>
				<a href="http://wenda.ghostchina.com/account/openid/sina/"
					class="btn btn-block btn-weibo"><i class="icon icon-weibo"></i>
					新浪微博登录</a> <a
					href="http://wenda.ghostchina.com/account/openid/qq_login/"
					class="btn btn-block btn-qq"> <i class="icon icon-qq"></i> QQ登录
				</a>
			</div>
		</div>
		<div class="mod-footer">
			<span>还没有账号?</span>&nbsp;&nbsp; <a href="user/register">立即注册</a>&nbsp;&nbsp;•&nbsp;&nbsp;
			<a href="./">游客访问</a>&nbsp;&nbsp;•&nbsp;&nbsp; <a
				href="http://wenda.ghostchina.com/reader/">问答阅读</a>
		</div>
	</div>
</div>

</body>
</html>